package com.dalin.platform.glb.vo;

import java.util.Date;

import com.dalin.common.base.BaseObject;

/*****************************************************************************
 * @content: 附件下载相关信息                                                                                                              *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2011-11-20 16:09                                               *
 * @modDate: 2011-11-20 16:09                                               *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class WsGlbAttachmentOut extends BaseObject {
	private Long projectId;
	private String bizType;
	private Long attachmentId; // 附件主键
	private String attachmentName; // 附件名称
	private String bizDesc1; // 业务描述
	private String bizDesc2; // 业务描述
	private String bizDesc3; // 业务描述
	private String bizDesc4; // 业务描述
    private Long groupId; // 组ID
    private Long createUserId; // 创建人ID
    private String createUserName; // 创建人
    private Date createDate; // 创建时间
    private String attachmentType; // APPENDIX_TYPE,64,0,null
    private String rootDownloadPath; // 下载要路径
    private String relativePath; // 下载相对路径
    
    
    
	public String getBizDesc3() {
		return bizDesc3;
	}
	public void setBizDesc3(String bizDesc3) {
		this.bizDesc3 = bizDesc3;
	}
	public String getBizDesc4() {
		return bizDesc4;
	}
	public void setBizDesc4(String bizDesc4) {
		this.bizDesc4 = bizDesc4;
	}
	public String getAttachmentName() {
		return attachmentName;
	}
	public void setAttachmentName(String attachmentName) {
		this.attachmentName = attachmentName;
	}

	public String getBizDesc1() {
		return bizDesc1;
	}
	public void setBizDesc1(String bizDesc1) {
		this.bizDesc1 = bizDesc1;
	}
	public String getBizDesc2() {
		return bizDesc2;
	}
	public void setBizDesc2(String bizDesc2) {
		this.bizDesc2 = bizDesc2;
	}
	public Long getGroupId() {
		return groupId;
	}
	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}
	public Long getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}
	public Long getAttachmentId() {
		return attachmentId;
	}
	public void setAttachmentId(Long attachmentId) {
		this.attachmentId = attachmentId;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getAttachmentType() {
		return attachmentType;
	}
	public void setAttachmentType(String attachmentType) {
		this.attachmentType = attachmentType;
	}

	public String getRootDownloadPath() {
		return rootDownloadPath;
	}
	public void setRootDownloadPath(String rootDownloadPath) {
		this.rootDownloadPath = rootDownloadPath;
	}
	public String getRelativePath() {
		return relativePath;
	}
	public void setRelativePath(String relativePath) {
		this.relativePath = relativePath;
	}
	public String getCreateUserName() {
		return createUserName;
	}
	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}
	public Long getProjectId() {
		return projectId;
	}
	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}
	public String getBizType() {
		return bizType;
	}
	public void setBizType(String bizType) {
		this.bizType = bizType;
	}
	
	
	
	
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((attachmentId == null) ? 0 : attachmentId.hashCode());
		result = prime * result
				+ ((attachmentName == null) ? 0 : attachmentName.hashCode());
		result = prime * result
				+ ((attachmentType == null) ? 0 : attachmentType.hashCode());
		result = prime * result
				+ ((createDate == null) ? 0 : createDate.hashCode());
		result = prime * result
				+ ((createUserId == null) ? 0 : createUserId.hashCode());
		result = prime * result
				+ ((createUserName == null) ? 0 : createUserName.hashCode());
		result = prime * result + ((groupId == null) ? 0 : groupId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		WsGlbAttachmentOut other = (WsGlbAttachmentOut) obj;
		if (attachmentId == null) {
			if (other.attachmentId != null)
				return false;
		} else if (!attachmentId.equals(other.attachmentId))
			return false;
		if (attachmentName == null) {
			if (other.attachmentName != null)
				return false;
		} else if (!attachmentName.equals(other.attachmentName))
			return false;
		if (attachmentType == null) {
			if (other.attachmentType != null)
				return false;
		} else if (!attachmentType.equals(other.attachmentType))
			return false;
		if (createDate == null) {
			if (other.createDate != null)
				return false;
		} else if (!createDate.equals(other.createDate))
			return false;
		if (createUserId == null) {
			if (other.createUserId != null)
				return false;
		} else if (!createUserId.equals(other.createUserId))
			return false;
		if (createUserName == null) {
			if (other.createUserName != null)
				return false;
		} else if (!createUserName.equals(other.createUserName))
			return false;
		if (groupId == null) {
			if (other.groupId != null)
				return false;
		} else if (!groupId.equals(other.groupId))
			return false;
		return true;
	}
}
